const Router = require('koa-router')
const routers = new Router()
routers.prefix('/niu')
// 各个小接口
const setUser = require('./login.js')
const goods = require('./goods.js')
const order = require('./order.js')
const fav = require('./fav.js')
const user = require('./user.js')
routers.use(setUser.routes())
routers.use(goods.routes())
routers.use(order.routes())
routers.use(fav.routes())
routers.use(user.routes())
module.exports = routers
